package com.yida.wy.basic.domain;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.yida.wy.common.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 党组织基础信息 实体类。
 *
 * @author lqq
 * @since 1.0
 */
@Data
@ApiModel(value = "党组织基础信息", description = "党组织基础信息")
@Table(value = "wy_base_party_organization")
public class WyBasePartyOrganization extends BaseEntity {

    /**
     * 党组织ID
     */
    @ApiModelProperty(value = "党组织ID")
    @Id(keyType = KeyType.Auto)
    private Long partyOrganizationId;

    /**
     * 党组织名称
     */
    @ApiModelProperty(value = "党组织名称")
    @Column(value = "party_organization_name")
    private String partyOrganizationName;

    /**
     * 建立时间
     */
    @ApiModelProperty(value = "建立时间")
    @Column(value = "establish_time")
    private Date establishTime;

    /**
     * 党组织类型
     */
    @ApiModelProperty(value = "党组织类型")
    @Column(value = "party_organization_type")
    private Integer partyOrganizationType;

    /**
     * 地区编码
     */
    @ApiModelProperty(value = "地区编码")
    @Column(value = "area_code")
    private String areaCode;

    /**
     * 上级党组织名称
     */
    @ApiModelProperty(value = "上级党组织名称")
    @Column(value = "superiors_organization_name")
    private String superiorsOrganizationName;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址")
    @Column(value = "detail_address")
    private String detailAddress;

    /**
     * 组织职责
     */
    @ApiModelProperty(value = "组织职责")
    @Column(value = "party_organization_responsibility")
    private String partyOrganizationResponsibility;

    /**
     * 党组织结构文件编码
     */
    @ApiModelProperty(value = "党组织结构文件编码")
    @Column(value = "party_organization_structure_file_code")
    private String partyOrganizationStructureFileCode;

    /**
     * 物业企业ID
     */
    @ApiModelProperty(value = "物业企业ID")
    @Column(value = "property_management_company_id")
    private String propertyManagementCompanyId;


}
